package com.dianrong.common.uniauth.common.bean.request;

import java.util.Arrays;
import java.util.List;

/**
 * Created by Arc on 25/3/2016.
 */
public class CfgParam extends PageParam{

	private static final long serialVersionUID = -1765107973570952500L;
	private Integer id;
    private String cfgKey;
    private List<String> cfgKeys;
    private String cfgKeyLike;
    private Integer cfgTypeId;
    private String cfgTypeCode;
    private String value;
    private byte[] file;
    private Boolean needBLOBs;

    public byte[] getFile() {
        return file;
    }

    public CfgParam setFile(byte[] file) {
        this.file = file;
        return this;
    }

    public Integer getId() {
        return id;
    }

    public CfgParam setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getCfgTypeId() {
        return cfgTypeId;
    }

    public CfgParam setCfgTypeId(Integer cfgTypeId) {
        this.cfgTypeId = cfgTypeId;
        return this;
    }

    public String getCfgTypeCode() {
        return cfgTypeCode;
    }

    public CfgParam setCfgTypeCode(String cfgTypeCode) {
        this.cfgTypeCode = cfgTypeCode;
        return this;
    }

    public String getCfgKey() {
        return cfgKey;
    }

    public CfgParam setCfgKey(String cfgKey) {
        this.cfgKey = cfgKey;
        return this;
    }

    public String getValue() {
        return value;
    }

    public CfgParam setValue(String value) {
        this.value = value;
        return this;
    }

    public Boolean getNeedBLOBs() {
        return needBLOBs;
    }

    public CfgParam setNeedBLOBs(Boolean needBLOBs) {
        this.needBLOBs = needBLOBs;
        return this;
    }

    public List<String> getCfgKeys() {
        return cfgKeys;
    }

    public CfgParam setCfgKeys(List<String> cfgKeys) {
        this.cfgKeys = cfgKeys;
        return this;
    }

	public String getCfgKeyLike() {
		return cfgKeyLike;
	}

	public CfgParam setCfgKeyLike(String cfgKeyLike) {
		this.cfgKeyLike = cfgKeyLike;
		 return this;
	}

	@Override
	public String toString() {
		return "CfgParam [id=" + id + ", cfgKey=" + cfgKey + ", cfgKeys=" + cfgKeys + ", cfgKeyLike=" + cfgKeyLike
				+ ", cfgTypeId=" + cfgTypeId + ", cfgTypeCode=" + cfgTypeCode + ", value=" + value + ", file="
				+ Arrays.toString(file) + ", needBLOBs=" + needBLOBs + "]";
	}
}
